OPC Studio User's Guide and Reference
UAAttributeDataPayload<TValue> Constructor(UAAttributeData<TValue>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.ComplexEventProcessing Namespace > UAAttributeDataPayload<TValue> Class > UAAttributeDataPayload<TValue> Constructor : UAAttributeDataPayload<TValue> Constructor(UAAttributeData<TValue>)
OPC-UA attribute value, together with status code and timestamps.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new event payload from an OPC-UA attribute data (value, together with status code and timestamps).
Syntax
'Declaration
 
Public Function New( _
   ByVal attributeData As UAAttributeData(Of TValue) _
)
'Usage
 
Dim attributeData As UAAttributeData(Of TValue)
 
Dim instance As New UAAttributeDataPayload(Of TValue)(attributeData)
public UAAttributeDataPayload<TValue>( 
   UAAttributeData<TValue> attributeData
)
public:
UAAttributeDataPayload<TValue>( 
   UAAttributeData<TValue^>^ attributeData
)

Parameters

attributeData
OPC-UA attribute value, together with status code and timestamps.

The value of this parameter cannot be null (Nothing in Visual Basic).

Remarks

In languages that support implicit conversions (such as C# or VB.NET), in many cases you do not have call this constructor explicitly. When indicated, a call to an available equivalent implicit conversion operator will be created by the compiler automatically.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also